<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>ognl debug tag</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <body>
    <s:debug></s:debug>
    
    <h5>从map栈中获取字符串</h5>
           输出整型数据：<s:property value="a"/><br>
           输出整型数据：<s:property value="#aaa"/><br>
           输出double型数据：<s:property value="#bbbb"/><br>
           输出字符串数据：<s:property value="#cccc"/><br>
    
    <h5>从map栈中获取map数据</h5>
    <!-- 
    <s:property value="persons"/><br>
    <s:property value="persons[person1].name"/><br><br>
    <s:property value="persons[person2].pid"/><br>
    <s:property value="persons[person2].name"/><br><br>
    <s:property value="persons[person3].pid"/><br>
    <s:property value="persons[person3].name"/><br><br>
     -->
     <s:property value="persons['person1'].name"/><br>
  </body>
</html>
